package nl.haemers.events 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Jonathan Haemers
	 */
	public class SpriteEvent extends Event 
	{
		public static const HIDE_START					:String = "hideStart";
		public static const HIDE_COMPLETE				:String = "hideComplete";
		public static const SHOW_START					:String = "showStart";
		public static const SHOW_COMPLETE				:String = "showComplete";
		public static const UPDATED						:String = "updated";
		
		public function SpriteEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
		} 
		
		public override function clone():Event 
		{ 
			return new SpriteEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("SpriteEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}